CREATE TABLE [dbo].[tb_RelInterservicios]
(
[idServicio] [int] NOT NULL,
[idServicio2] [int] NOT NULL,
[TipoRelacion] [int] NOT NULL,
[Descriptor] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Desde] [datetime] NOT NULL,
[Baja] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Hasta] [datetime] NULL,
[LicenciaUltSS] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_RelInterservicios] WITH NOCHECK ADD CONSTRAINT [FK_tb_RelInterservicios_tb_TiposRelacionInterservicios] FOREIGN KEY ([TipoRelacion]) REFERENCES [dbo].[tb_TiposRelacionInterservicios] ([idTipoRelacion])
GO
